package com.ytktt.study.week5.task8.properties;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 属性配置
 *
 * @author ytk
 */
@Getter
@Setter
@ToString
@ConfigurationProperties(prefix = StudyProperties.PREFIX)
public class StudyProperties {

    public static final String PREFIX = "study";

    private Boolean enabled = false;

    private School school = new School();
}
